package net.bezrabotnih.cabinet.client.place;

import com.google.gwt.place.shared.Place;
import com.google.gwt.place.shared.PlaceTokenizer;

public class EditJobPlace extends Place{

	private String jobId;
	
	
	public EditJobPlace(String jobId) {
		this.jobId=jobId;
	}
	
	
	
	
	public String getJobId() {
		return jobId;
	}




	public static class Tokenizer implements PlaceTokenizer<EditJobPlace> {

		@Override
		public String getToken(EditJobPlace place) {
			return place.getJobId();
		}

		@Override
		public EditJobPlace getPlace(String token) {
			return new EditJobPlace(token);
		}

	}
}
